package com.example.dml.proxy_pattern;

import com.example.dml.proxy_pattern.dynamic_proxy.JDKMeipo;
import org.springframework.aop.framework.ProxyFactoryBean;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-27
 * @Description：todo
 */
public class ProxyTest {

    public static void main(String[] args) throws ClassNotFoundException {
        Person person = (Person) new JDKMeipo().getInstance(new Customer());
        Class<?> customer= Class.forName("com.example.dml.proxy_pattern.Customer");
        customer.getMethods();
        person.findLove();
    }
}
